![]() |
ClosePoly |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Completes the collection of lines that defines a polygon.
void ClosePoly ();
The ClosePoly function stops collecting line-drawing commands for the currently open polygon and computes the polyBBox field of the Polygon structure. You should call ClosePoly only once for every call to the OpenPoly function.
The ClosePoly function uses the ShowPen function, balancing the call to the HidePen function made by the OpenPoly function.
The ClosePoly function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)